package hn.cch.module.controller.v0;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RequestMapping(value = "/v0/test")
@RestController
public class TestController {

    @GetMapping(value = "/get")
    @ResponseBody
    public String get(@RequestParam(value = "reportDate") String reportDate) {
        log.debug("report:{}", reportDate);
        return "get:" + reportDate;
    }

}
